package com.fantastic.model.pojo.zjs;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author: rxx
 * @since: 2024/6/15 17:24
 * @description:
 */
@Data
@NoArgsConstructor
public class TreeTableData {
private  Integer  type_speid ;
private    String    type_spename;
private BigDecimal addprice=new BigDecimal(0);
 private Integer    isMenu=0;
 private Integer   parentId  =-1;
 private  Boolean  enable=false;

 public TreeTableData(Integer type_speid, String type_spename) {
  this.type_speid = type_speid;
  this.type_spename = type_spename;
 }

 public TreeTableData(Integer type_speid, String type_spename, Integer isMenu, Integer parentId) {
  this.type_speid = type_speid;
  this.type_spename = type_spename;
  this.isMenu = isMenu;
  this.parentId = parentId;
 }

}